﻿@model A_Shop.Models.Producto

@{
    ViewBag.Title = "Details";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>Detalles</h2>

<table >
    <tbody>
        <tr>
    <td class="display-label">
         @Html.DisplayNameFor(model => model.Nombre)
    </td>
    <td class="display-field">
        @Html.DisplayFor(model => model.Nombre)
    </td>
         </tr>
    <tr>
    <td class="display-label">
         @Html.DisplayNameFor(model => model.Modelo)
    </td>
    <div class="display-field">
        @Html.DisplayFor(model => model.Modelo)
    </div>
        </tr>
        <tr>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Marca)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Marca)
    </div>
            </tr>
        <tr>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Precio)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Precio)
    </div>
            </tr>
        <tr>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Descripcion)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Descripcion)
    </div>
            </tr>
        <tr>
    <div class="display-label">
         @Html.DisplayNameFor(model => model.Foto)
    </div>
          
    <div class="display-field">
          @Html.DisplayFor(model => model.Foto)
    </div>
    </tr>
</table>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
